package com.xhorse.lockplatform.dao.mapper;

import com.xhorse.lockplatform.comm.persist.BaseMapper;
import com.xhorse.lockplatform.model.XhKey;

import java.util.List;

public interface XhKeyMapper extends BaseMapper<XhKey> {

    List<XhKey> selectTypeData();

    List<Integer> selectLanguageIdByRegion(int regionId);

    XhKey selectKeyInfo(XhKey xhKey);

    void updateSelective(XhKey xhKey);

    int deleteByRegionId(int regionId);

    void reset(int regionId);

    List<XhKey> selectKeyByModeId(XhKey xhKey);
}